package com.wxg.user.service;

import com.wxg.common.core.module.user.dao.mysql.User;
import com.wxg.common.core.module.user.po.UserAndAddressPo;

import java.util.List;

/**
 * @author: Administrator
 * @date: 2022/8/7 0:00
 * @desc:
 */
public interface UserService {

    User queryById(Long userId);

    List<User> queryAllUser();

    /**
     * 查询用户+地址
     * @return
     */
    List<UserAndAddressPo> queryUserAndAddress(Long userId);
}
